package com.edt.ichannel.api.service.impl;

import com.edt.ichannel.api.dao.WoaccountDao;
import com.edt.ichannel.api.entiy.local.Woaccount;
import com.edt.ichannel.api.service.WoaccountService;
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class WoaccountServiceImpl implements WoaccountService {
    private Logger logger = LogManager.getLogger(WoaccountServiceImpl.class);

    @Resource
    private WoaccountDao woaccountDao;

    @Override
    public Woaccount getWoaccountByMerNo(String merNo) {
        return woaccountDao.getWoaccountByMerNo(merNo);
    }

    @Override
    public List<Woaccount> selectAllAccount() {

        return woaccountDao.selectAllWoAccount();
    }


}
